#include "ThreadPool.h" 

ThreadPool::ThreadPool(size_t threadNum, size_t capa)
    :_threadNum(threadNum)
    ,_threads()
    ,_capacity(capa)
    ,_taskQue(_capacity)
     ,_isExit(false)
{


}
ThreadPool::~ThreadPool()
{

}

//线程池的启动与停止
void ThreadPool::start(){

}

void ThreadPool::stop(){

}

//添加任务与获取任务
void ThreadPool::addTask(Task &&task){

}

Task ThreadPool::getTask(){

}

//线程池交给工作线程（子线程）执行的任务
void ThreadPool::doTask(){

}

